﻿
.cart {
    opacity: 0;
}

.layui-laypage a:hover {
    color: #333;
}

.p_car_icon:hover .hovercart {
    display: none;
}

.p_car_icon:hover .sub_catr_border {
    border-color: transparent;
}

/*.mask_pop_max {
    background: rgba(0,0,0,.2);
}*/

.close-cart.pop-close {
    display: none !important;
}

.tomyorder {
    display: none;
}

@media (min-width: 1024px) {
    .m_cart {
        display: none;
    }

    .cart {
        /*padding: 0px 10px;*/
        padding-bottom: 60px;
    }

    .p_cart {
        /*width: 1200px;*/
        margin: 0 auto;
    }

        .p_cart a:hover {
            text-decoration: none;
        }

        .p_cart a:focus {
            text-decoration: none;
        }

    .p_cart-nav {
        height: 48px;
        line-height: 48px;
    }

        .p_cart-nav a {
            color: #333;
        }

        .p_cart-nav span {
            color: #333;
        }

    /*.p_cart-box {
        padding: 26px 0;
    }*/


    .t-footer {
        height: 110px;
        /*padding-top: 20px;*/
        /*text-align: right;*/
        line-height: 20px;
    }

    .color_rde {
        color: #fe2000;
    }

    .font-20 .color_rde {
        font-size: 18px;
    }

    .font-20 {
        line-height: 34px;
    }

    .t-btn {
        /*padding-top: 20px;*/
    }

        .t-btn .del-all {
            line-height: 34px;
            float: left;
        }

        .t-btn .account-btn {
            float: right;
            background: #e97a8f;
        }

    .gonoshop {
        float: right;
        padding: 6px 20px;
        border: 1px solid #333;
        color: #fff;
    }


    .cart-empty-inner {
        padding: 80px 0 120px;
        background: #f8f8f8;
    }

        .cart-empty-inner > div {
            float: left;
            height: 70px;
        }

        .cart-empty-inner .left {
            width: 480px;
            text-align: right;
        }

            .cart-empty-inner .left i {
                font-size: 50px;
                line-height: 70px;
                color: #666;
            }

        .cart-empty-inner .right {
            padding: 18px 0 8px 20px;
            line-height: 22px;
        }

            .cart-empty-inner .right a {
                color: #0563c3;
            }

    .p_cart-conten {
        /*position:relative*/
        min-height: 442px;
    }

    .conten-left {
        width: 74%;
        float: left;
        min-height: 200px;
    }

        .conten-left .con-title {
            font-size: 25px;
            margin-bottom: 20px;
            color: #444444;
            font-weight: bold;
            display: none;
        }

    .conten-right {
        width: 24%;
        overflow: hidden;
        float: right;
        background: #fff;
    }

    .conten-right-title {
        font-weight: bold;
        font-size: 15px;
        line-height: 36px;
        padding: 8px 20px 0 20px;
    }

        .conten-right-title p {
            border-bottom: 1px solid #ccc;
        }

    .conten-right .right-total {
        padding: 8px 0 20px 20px;
    }

    .conten-right .right-total {
    }

    .settlement-right {
        padding: 15px 20px;
    }

        .settlement-right p {
            height: 28px;
            padding: 0 10px;
        }

            .settlement-right p span:last-child {
                float: right;
                color: red;
            }

        .settlement-right .max {
            height: 36px;
            font-weight: bold;
        }

            .settlement-right .max span:last-child {
                font-size: 18px;
            }

            .settlement-right .max > span:first-child {
                padding-top: 5px;
            }

    .conten-right .account-btn {
        color: #fff;
        display: inline-block;
        width: 100%;
        display: block;
        line-height: 42px;
        text-align: center;
        font-weight: bold;
        font-size: 16px;
    }


    /*.typeofpayment {
        margin-top: 20px;
        padding: 18px 22px 22px 20px;
        border-top: 1px solid #ccc;
    }

    .typeofpayment-title {
        font-weight: bold;
        padding-bottom: 12px;
    }

    .payment-icons img {
        float: left;
        width: 76px;
        margin-right: 5px;
        margin-bottom: 10px;
        height: 46px;
    }

        .payment-icons img:last-child {
            margin-right: 0;
        }*/

    .font-20 .font-size14 {
    }
    /*购物车下面的换购*/
    .trade-title {
        min-height: 48px;
        line-height: 20px;
        padding-left: 15px;
        border: 1px solid #ccc;
        border-bottom: none;
        background: #f4f4f5;
        color: red;
        display: flex;
        align-items: center;
    }
    /*.trade-more {
        text-align: right;
    }*/
    .trade-more p {
        float: right;
        line-height: 24px;
        cursor: pointer;
        padding: 0 6px;
        margin-top: 10px;
    }

        .trade-more p span:first-child {
            margin-right: 4px;
        }

    /*.trade-more span:hover {
        text-decoration: underline;
    }*/

    .trade-goods {
        margin-top: 20px;
    }

        .trade-goods:first-child {
            margin-top: 0;
        }
}

@media (max-width: 1023px) {
    .m_cart .free_cart {
        display: none;
    }

    .m_cart .free_cart {
        text-align: center;
        padding: 10px 20px;
    }

        .m_cart .free_cart .sub_cart_head p.sub_cart_tiphead {
            font-size: 15px;
            color: #ff5722;
            margin-bottom: 10px;
        }

        .m_cart .free_cart .sub_cart_tip {
            font-size: 12px;
            margin: 5px 0px;
            color: #595757;
        }

    .tomyorder {
        display: block;
        position: fixed;
        width: 100%;
        height: 48px;
        line-height: 48px;
        bottom: 0;
        left: 0;
    }

        .tomyorder a {
            display: block;
            height: 100%;
        }

    .cart_bottom {
        display: none;
    }

    .p_cart {
        display: none !important;
    }

    .footer-box {
        margin-top: 0;
    }

    .main_footer, .main_head {
        display: none;
    }

        .main_head .p_top_bannr {
            display: none;
        }

        .main_head .m_keyword {
            display: none;
        }

    .m_cart {
        background: #f7f7fa;
    }

        .m_cart .m_title {
            border-bottom: none;
        }


        .m_cart .settle-account {
            background: #fff;
            padding-bottom: 18px;
        }

        .m_cart .total-money {
            text-align: right;
            padding: 10px 20px 10px 0;
        }

            .m_cart .total-money p {
                display: flex;
                justify-content: flex-end;
                line-height: 18px;
            }

            .m_cart .total-money .color_red {
                color: #fe2000;
            }

        .m_cart .fontsize-16 {
            font-size: 16px;
        }

        .m_cart .total-money p:last-child {
            line-height: 18px;
            height: 18px;
        }

        .m_cart .total-btn {
            width: 100%;
            border-top: 1px solid #ddd;
            padding: 20px 10px;
        }

    .total-btn a {
        float: left;
        padding: 6px 10px;
        border: 1px solid #fff;
    }

    .m_cart .gonoshop {
    }

    .m_cart .total-btn a:last-child {
        float: right;
        margin-right: 5px;
    }

    .m_cart .total-btn a:first-child {
        margin-right: 8px;
    }

    .p_cart-nav {
        display: none;
    }

    .account-btn {
        position: fixed;
        bottom: 0;
        width: 100%;
        height: 48px;
        line-height: 48px;
        border-radius: 0;
        background: #FFF;
        text-align: center;
        color: #fff;
        z-index: 110;
    }

        .account-btn:link {
            color: #fff;
        }

    .cart-empty-inner {
        display: flex;
        justify-content: center;
        flex-direction: column;
        align-items: center;
        padding-top: 50px;
        padding-bottom: 50px;
    }

        .cart-empty-inner .left i {
            font-size: 50px;
            color: #666;
        }

        .cart-empty-inner .right {
            margin-top: 20px;
            text-align: center;
            line-height: 22px;
        }

            .cart-empty-inner .right a {
                color: #0563c3;
            }

    /*.back {
        font-size: 20px;
        position: absolute;
        left: 10px;
    }*/
    .my-table {
        width: 100%;
        background: #fff;
        margin-top: 10px;
    }

        .my-table .tab-title {
            height: 50px;
            border-bottom: 1px solid #ddd;
            padding: 0 16px;
            font-weight: bold;
        }

        .my-table li {
            padding: 0 15px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            height: 34px;
        }

            .my-table li p {
                color: red;
            }
}

.cart-empty {
    display: none;
}

.cart_bottom {
    /*width: 1200px;*/
    /*background: #f4f4f5;*/
    /*position:relative;*/
    background: #fff;
}

    .cart_bottom .swiper-slide.good {
        /*max-width: 20%;*/
    }

    /*未登錄*/
    .cart_bottom .notlog .nologin {
        margin-top: 30px;
        text-align: center;
    }

        .cart_bottom .notlog .nologin img {
            width: 180px;
        }

        .cart_bottom .notlog .nologin p {
            font-size: 30px;
            color: #cdc8c5;
            font-weight: bold;
            margin: 10px 0px;
        }

        .cart_bottom .notlog .nologin a {
            padding: 6px 22px;
            font-size: 16px;
            border-radius: 10px;
        }

.cartgoods {
    position: relative;
    /*z-index: 100;*/
    background: #fff;
}

.cartgoods {
    display: none;
}

    .cartgoods:first-child {
        display: block;
    }

.my_favorite-tip {
    text-align: center;
    font-size: 18px;
    line-height: 200px;
    color: #ddd;
    display: none;
}

    .my_favorite-tip .my_icon {
        font-size: 18px;
        margin-right: 8px;
    }

.w .good .goodslist {
    width: 20%;
    padding: 1%;
}

.cartgoods.layui-carousel[lay-arrow=always] .layui-carousel-arrow {
    width: 27px;
    height: 50px;
    transform: translateY(-50%);
}

    .cartgoods.layui-carousel[lay-arrow=always] .layui-carousel-arrow[lay-type=sub] {
        background: url(../imgs/icon/c_icon.png) no-repeat;
        left: -30px;
    }

    .cartgoods.layui-carousel[lay-arrow=always] .layui-carousel-arrow[lay-type=add] {
        background: url(../imgs/icon/c_icon.png) no-repeat -61px 0;
        right: -30px;
    }

.cartgoods .swiper-button-prev {
    background: url(../imgs/icon/c_icon.png) no-repeat;
    height: 50px;
    left: -30px;
}

.swiper-button-next, .swiper-button-prev {
    top: 40%;
}

.cartgoods .swiper-button-next {
    background: url(../imgs/icon/c_icon.png) no-repeat -61px 0;
    height: 50px;
    right: -30px;
}

.my_favorite-title {
    border-bottom: 1px solid #ccc;
    line-height: 40px;
    font-size: 17px;
    height: 40px;
    margin-bottom: 20px;
}

    .my_favorite-title p {
        float: left;
        padding: 0 6px;
        border-bottom: 2px solid transparent;
        color: #666;
        margin-right: 8px;
        line-height: 38px;
        cursor: pointer;
    }

        .my_favorite-title p.active {
            border-bottom: 2px solid #f7a1b6;
            color: #f7a1b6;
        }

.recommend {
    padding-top: 80px;
}

.car-page {
    padding-right: 2%;
    padding-top: 20px;
}

#carecommendrt-page {
    float: right;
}
/*换购 选择 度数*/
.pop_size_mask {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,.3);
    z-index: 20000;
    display: none;
}

    .pop_size_mask .selecd-size {
        position: absolute;
        top: 40%;
        left: 50%;
        transform: translate(-50%,-50%);
        width: 310px;
    }


    .pop_size_mask .size-title {
        height: 42px;
        line-height: 42px;
        padding: 0 20px;
        background: #f4f4f5;
    }

        .pop_size_mask .size-title .iconfont {
            float: right;
            font-size: 12px;
            cursor: pointer;
        }

    .pop_size_mask .size-comtent {
        background: #fff;
        width: 310px;
        min-height: 185px;
        padding: 18px 20px 26px 20px;
    }

        .pop_size_mask .size-comtent span {
            display: inline-block;
            width: 60px;
            line-height: 28px;
            text-align: center;
            border: 1px solid #ccc;
            margin-bottom: 10px;
            margin-right: 10px;
            cursor: pointer;
        }

            .pop_size_mask .size-comtent span:nth-child(4n) {
                margin-right: 0;
            }

        .pop_size_mask .size-comtent .stitle {
            margin-bottom: 8px;
        }

        .pop_size_mask .size-comtent .sbtn {
            padding: 5px 20px;
            float: right;
        }

        .pop_size_mask .size-comtent .layui-form {
            margin-bottom: 10px;
        }

@media screen and (min-width:1024px) and (max-width:1199px) {
    .p_cart-conten {
        padding: 0 8px;
    }

        .p_cart-conten .conten-right-title, .p_cart-conten .settlement-right, .p_cart-conten .typeofpayment {
            padding-left: 6px;
            padding-right: 6px;
        }

    .conten-right .account-btn {
        font-size: 14px;
    }

    .conten-right .payment-icons img {
        width: 71px;
    }

    .cartgoods .swiper-button-next {
        right: 10px;
    }

    .cartgoods .swiper-button-prev {
        left: 10px;
    }

    .conten-left .t-head {
        border-right: none;
        border-left: none;
    }

    .cart .prom-pop {
        left: 0 !important;
    }

    .prom-btn {
        border-bottom: solid 1px !important;
    }
}


.all-promotion {
    padding-left: 60px;
    padding-bottom: 60px;
    color: red;
    font-size: 16px;
}

.super-titie {
    border-bottom: 1px solid #ccc;
    line-height: 40px;
    font-size: 17px;
    height: 40px;
    margin-bottom: 20px;
}

    .super-titie span {
        padding-left: 20px;
        font-weight: bold;
    }

.all-promotion li {
}

@media (max-width: 1023px) {
    .all-promotion {
        padding: 16px;
        color: red;
        font-size: 12px;
    }

        .all-promotion li {
        }

    .super-titie {
        line-height: 28px;
        font-size: 12px;
        height: 28px;
        margin-bottom: 12px;
    }

        .super-titie span {
            padding-left: 12px;
        }
}
/*購物車換購 彈出*/
.trade-in-mask {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,.6);
    z-index: 10000;
    display: none;
}



.trade-mask-box .trade-bottom-inner {
    overflow: auto;
    max-height: 380px;
}

.trade-mask-box .t-body .describe {
    width: 250px;
}

.trade-mask-box .super-titie {
    margin-bottom: 0;
}

.trade-mask-box .remove-trade {
    float: right;
    margin-right: 30px;
    cursor: pointer;
}

.show-trade-mask {
    float: right;
    padding: 6px 20px;
    margin-right: 20px;
    display: none;
}

.pop-order {
    position: absolute;
    right: 40px;
    bottom: 12px;
    padding: 6px 20px;
}


@media (min-width: 1024px) {
    .trade-mask-box {
        top: 50%;
        left: 50%;
        transform: translate(-50%,-50%);
        width: 880px;
        height: 500px;
        padding: 20px;
        padding-right: 10px;
        position: absolute;
        background: #fff;
    }

        .trade-mask-box .pop-order {
            font-size: 16px;
            font-weight: bold;
            padding: 10px 80px;
        }
}

@media (max-width: 1023px) {
    .trade-mask-box {
        left: 0;
        bottom: 0;
        height: 90%;
        width: 100%;
        padding: 4px;
        position: absolute;
        background: #fff;
    }

        .trade-mask-box .trade-mask-box .trade-in, .trade-in-all {
            padding-bottom: 0;
        }

        .trade-mask-box .trade-bottom-inner {
            max-height: 84%;
        }

    .cart .gonoshop {
        float: right;
    }

    .pop-order {
        width: 100%;
        left: 0px;
        right: 0px;
        bottom: 0px;
        padding: 0px;
        line-height: 42px;
    }
}
